.personal_info {
    width: 100vw;
    height: 100vh;
    background: rgba(var(--bg-dark), 0.85);
    border-radius: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    position: relative;

    .personal_back{
        position: absolute;
        left: 30px;
        top: 20px;
        z-index: 20;
        cursor: pointer;
        transition: var(--transition);
        &:hover{
            color: var(--primary);
        }
    }

    .personal_profile_header {
        background: linear-gradient(120deg, var(--bg-primary), var(--primary));
        padding: 40px;
        text-align: center;
        position: relative;
        
        .personal_profile_avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid rgba(255,255,255,0.2);
            margin: 0 auto 20px;
            overflow: hidden;
            position: relative;
            &:hover .personal_avatar_upload{
                opacity: 1;
            }
        
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
            
            .personal_userInfoDlg_avatar_placeholder {
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                background: rgba(255,255,255,0.1);
                color: white;
                font-size: 48px;
                font-weight: bold;
            }
            .personal_avatar_upload{
                opacity: 0;
                position: absolute;
                width: 100%;
                height: 100%;
                left: 0;
                top: 0;
                background: var(--hover-dark);
                z-index: 300;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                transition: var(--transition);
                svg{
                    width: 18px;
                    height: 18px;
                }
                .personal_avatar_preview,.personal_avatar_upload_btn{
                    color: var(--text-secondary);
                    cursor: pointer;
                    &:hover{
                        color: var(--primary);
                    }
                }
            }
        }
        
        .personal_profile_username {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        
        .personal_profile_status {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 14px;
            margin-bottom: 20px;
            font-weight: 500;
            
            &.status-online {
                background: rgba(var(--success), 0.2);
                color: var(--success);
            }
            &.status-idle {
                background: rgba(var(--warning), 0.2);
                color: var(--warning);
            }
            &.status-dnd {
                background: rgba(var(--danger), 0.2);
                color: var(--danger);
            }
            &.status-offline {
                background: rgba(var(--text-secondary), 0.2);
                color: var(--text-secondary);
            }
        }
        
        .personal_profile_bio {
            max-width: 600px;
            margin: 0 auto 20px;
            color: rgba(255,255,255,0.8);
            line-height: 1.6;
            font-size: 16px;
        }
        
        .personal_profile_stats {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
            
            .personal_stat_item {
                text-align: center;
            }
            
            .personal_stat_number {
                font-size: 24px;
                font-weight: 700;
                margin-bottom: 5px;
            }
            
            .personal_stat_label {
                color: rgba(255,255,255,0.7);
                font-size: 14px;
            }
        }
    }
    
    .personal_tabs {
        display: flex;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--accent-secondary);
        
        .personal_tab {
            padding: 20px 30px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            position: relative;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 16px;
            
            &.active {
                color: var(--primary);
                
                &:after {
                    content: '';
                    position: absolute;
                    bottom: -1px;
                    left: 0;
                    right: 0;
                    height: 3px;
                    background: var(--primary);
                }
            }
        }
    }
    
    .personal_tab_content {
        padding: 30px;
        background: var(--bg-primary);
        
        .personal_tab_pane {
            display: none;
            
            &.active {
                display: block;
            }
        }
        
        .personal_section_title {
            display: flex;
            align-items: center;
            height: 60px;
            font-size: 20px;
            margin: 0;
            display: flex;
            align-items: center;
            color: var(--text-main);
            
            .personal_edit_btn {
                margin-left: auto;
            }
            .personal_select_btns{
                display: flex;
                gap: 12px;
                margin-left: auto;
            }
        }
        
        .personal_form_grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            
            .full-width {
                grid-column: span 2;
            }
        }
        
        .personal_form_group {
            margin-bottom: 20px;
            
            label {
                display: block;
                margin-bottom: 10px;
                font-size: 14px;
                color: var(--text-secondary);
                font-weight: 500;
            }
            
            .personal_form_static {
                width: 100%;
                padding: 14px 16px;
                box-sizing: border-box;
                background: var(--bg-secondary);
                border: 1px solid transparent;
                border-radius: 8px;
                color: var(--text-secondary);
                font-size: 16px;
            }
        }
        
        .personal_form_actions {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 30px;
            
            .save-btn {
                padding: 14px 28px;
                border-radius: 8px;
                font-size: 16px;
                font-weight: 600;
                cursor: pointer;
                transition: var(--transition);
                border: none;
                background: linear-gradient(to right, var(--primary), var(--bg-primary));
                color: white;
                
                &:hover {
                transform: translateY(-3px);
                box-shadow: 0 7px 15px rgba(var(--primary), 0.4);
                }
                
                i {
                margin-right: 8px;
                }
            }
            
            .cancel-btn {
                background: transparent;
                border: 1px solid var(--primary);
                color: var(--primary);
                padding: 14px 28px;
                border-radius: 8px;
                font-size: 16px;
                font-weight: 600;
                cursor: pointer;
                transition: var(--transition);
                
                &:hover {
                background: rgba(var(--primary), 0.15);
                }
            }
        }
        
        // 文件区域
        .personal_files_table {
            background: var(----bg-primary);
            border-radius: 8px;
            overflow: hidden;
            .ant-table-content{
                background: var(--bg-primary);
                color: var(--text-primary);
                .ant-table-cell{
                    border: none;
                }
                .ant-table-thead{
                    .ant-table-cell{
                        background: var(--bg-dark);
                        color: var(--text-primary);

                    }
                }
                .ant-table-tbody{
                    .ant-table-placeholder{
                        background-color: transparent;
                        .ant-table-cell{
                            background-color: transparent;
                        }
                        .ant-empty-image{
                            color: var(--text-secondary);
                        }
                        .ant-empty-description{
                            color: var(--text-secondary);
                        }
                    }
                    .ant-table-row{
                        .ant-table-cell{
                            border-top: 1px solid var(--input-bg);
                            background: transparent;
                        }
                        .ant-table-cell-row-hover{
                            background: var(--hover);
                        }
                        .file-actions {
                            display: flex;
                            justify-content: center;
                            gap: 10px;
                            
                            .file-action {
                                border-radius: 6px;
                                cursor: pointer;
                                transition: var(--transition);
                                color: var(--text-secondary);
                                border: none;
                                svg{
                                    width: 18px;
                                    height: 18px;
                                }
                                
                                &:hover {
                                    color: var(--primary);
                                }
                            }
                        }
                    }
                }
            }
            .ant-pagination{
                .ant-pagination-prev,.ant-pagination-next{
                    svg{
                        color: var(--text-secondary);
                    }
                }
                .ant-pagination-item{
                    background: transparent;
                    a{
                        color: var(--text-secondary) !important;
                    }
                    &:hover {
                        background: rgba(64, 68, 75, 0.3);
                        border-color: var(--text-secondary);
                    }
                }
                .ant-pagination-item-active{
                    background: var(--primary);
                    border: none;
                    color: var(--text-primary) !important;
                    &:hover {
                        background: var(--primary-dark);
                        box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .personal_info {
        .personal_profile_header {
            padding: 30px 20px;
            
            .personal_profile_stats {
                flex-wrap: wrap;
                gap: 15px;
            }
        }
            
        .personal_tabs .personal_tab {
            padding: 15px;
            font-size: 14px;
        }
        
        .personal_tab_content {
            padding: 20px;
            
            .personal_form_grid {
                grid-template-columns: 1fr;
            }
                
            .personal_files_table {
                .table-header,
                .table-row {
                    flex-wrap: wrap;
                    
                    .table-cell {
                        flex: 0 0 100%;
                        margin-bottom: 10px;
                        
                        &:last-child {
                        flex: 0 0 100%;
                        }
                    }
                    
                    .file-actions {
                        justify-content: flex-start;
                    }
                }
            }
        }
    }
}